home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zoom 2
/
Zoom - Release 2 (1996)(Active Software)[!].iso
/
texts
/
dosman121
/
man
/
basename
< prev
next >
Wrap
Text File
|
1995-05-05
|
943b
|
36 lines
BaseName(V1.3- arp component))
NAME
BaseName - Display the Base (filename) of a pathname.
SYNOPSIS
BaseName Path/a Suffix
DESCRIPTION
Basename extracts the filename from a long pathname,
displaying it to the standard output. You can also give
BaseName a suffix to delete. The most common use for
BaseName is in scripts, where it is used to generate new
filenames from old. This command is most useful with a
shell that supports command substitution and piping.
EXAMPLE
BaseName "DF0:Scoobie/Doobie/Foobar"
Foobar
BaseName "DF0:Scoobie/Doobie/Foobar.c" .c
Foobar
OTHER
This command is new with V1.3 of Arp, it is not
available with the Commodore distribution.
It has been replaced by several internal calls in
v2.x/3.x.